<?php

	/*
		----------------------------------
		Projet Lumina
		----------------------------------
		
		Classe Dead, correspondant à la table dead 
		de la base de données
		
		COHEN Jonathan
		2014
	*/
	
	class Lifeline {
		var $id;
		var $date;
		var $content;
		var $photo;
		
		function __construct($id, $date, $content, $photo) {
			$this->setId($id);
			$this->setDate($date);
			$this->setContent($content);
			$this->setPhoto($photo);
		}
		
		
		/* ------------------------------
			GETTERS GÉNÉRIQUES
		*/
		function getId() {
			return $this->id;
		}
		
		function getDate() {
			return $this->date;
		}
		
		function getContent() {
			return $this->content;
		}
        
		function getPhoto() {
			return $this->photo;
		}
		
		/* ------------------------------
			SETTERS
		*/
		function setId($id) {
			$this->id = $id;
		}
		
		function setDate($date) {
			$this->date = $date;
		}
		
		function setContent($content) {
			$this->content = $content;
		}
        
		function setPhoto($photo) {
			$this->photo = $photo;
		}
	}

?>